﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QFramework;
using UnityEngine.SceneManagement;

namespace APlan
{
    public class NextLevelCommand : AbstractCommand
    {
        private readonly string mSceneName;
        public NextLevelCommand(string name)
        {
            mSceneName = name;
        }
        protected override void OnExecute()
        {
            SceneManager.LoadScene(mSceneName);
        }
    }
}
